package b.l.a;

import android.view.ViewGroup;
import android.view.animation.Animation;
import android.view.animation.Animation.AnimationListener;
import androidx.fragment.app.Fragment;

/* compiled from: FragmentManagerImpl */
public class j implements AnimationListener {
    public final /* synthetic */ ViewGroup a;
    public final /* synthetic */ Fragment b;
    public final /* synthetic */ i c;

    /* compiled from: FragmentManagerImpl */
    public class a implements Runnable {
        public void run() {
            if (j.this.b.f() != null) {
                j.this.b.c0(null);
                j jVar = j.this;
                i iVar = jVar.c;
                Fragment fragment = jVar.b;
                iVar.h0(fragment, fragment.w(), 0, 0, false);
            }
        }
    }

    public j(i iVar, ViewGroup viewGroup, Fragment fragment) {
        this.c = iVar;
        this.a = viewGroup;
        this.b = fragment;
    }

    public void onAnimationEnd(Animation animation) {
        this.a.post(new a());
    }

    public void onAnimationRepeat(Animation animation) {
    }

    public void onAnimationStart(Animation animation) {
    }
}
